﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true"
    CodeFile="BBS.aspx.cs" Inherits="Theme_3_BBS" Title="Untitled Page" %>


<%--<%@ Register Src="UserControls/left.ascx" TagName="left" TagPrefix="left" %>--%>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
      <table width="868" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top" class="leftbg" width="129">
                <table width="195" border="0" cellspacing="0" cellpadding="0" class="tit3">
                    <tr>
                        <td style="padding-left: 0">
                            <br style="height: 8px; line-height: 8px" />
                            <table width="158" border="0" cellspacing="0" cellpadding="0" align="center">
                                <tr>
                                    <td class="button2">
                                        <a href="MyMsg.aspx">我的消息</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="EditPWD.aspx">修改密码</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="EditUser.aspx" <%--onclick="LeftClick('1')"--%> target="_self">个人资料</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="StudyCenter.aspx">我的课堂</a>
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td class="button1">
                                        <a href="MyProject.aspx" onclick="LeftClick('2')">我的班级</a>
                                    </td>
                                </tr>--%>
                                <tr>
                                    <td class="button2">
                                        <a href="SelectCourse.aspx" <%--onclick="LeftClick('3')"--%>>选课中心</a>
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td class="button2">
                                        <a href="MyCourse.aspx" onclick="LeftClick('3')">我的课程</a>
                                    </td>
                                </tr>--%>
                                <tr>
                                    <td class="button2">
                                        <a href="MyStowResource.aspx" <%--onclick="LeftClick('4')"--%>>我的会议</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>我的作业</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>我的考试</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>通知公告</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>在线调查</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>学分查询</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>证书打印</a>
                                    </td>
                                </tr>
                            </table>
        </td>
    </tr>
</table>
            </td>
            <!----->
            <td valign="Top" style="text-align:right;">
                <table border="0" cellpadding="0" cellspacing="0" width="96%"  class="border_style"  style="text-align:left;">
                    <tr>
                        <th>
                            <%=config.GetLanagerValueByKey("web_bbs_titlelist_lbl_l1", PowerCreator.LMS.Language.LanagetItemType.Page)%>：<asp:TextBox ID="txt_TitleName" runat="server"></asp:TextBox>&nbsp;&nbsp;<%=config.GetLanagerValueByKey("web_bbs_titlelist_lbl_l2", PowerCreator.LMS.Language.LanagetItemType.Page)%>：<asp:TextBox
                                ID="txt_username" runat="server"></asp:TextBox>
                            <asp:Button ID="Button1" runat="server" class="inputBotton2" OnClick="btn_seach_Click"
                                Text="查 询" />
                            <asp:Button ID="btn_Add" runat="server" class="inputBotton2" Text="发表新帖" OnClick="btn_Add_Click" /></th>
                    </tr>
                </table>
                <br />
                <table border="0" cellpadding="0" cellspacing="0" width="96%" class="mainList"  style="text-align:left;">
                    <tr>
                        <td>
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
                                GridLines="None" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound"
                                Width="100%" AllowSorting="True" OnSorting="GridView1_Sorting">
                                <Columns>
                                    <asp:BoundField DataField="ID" HeaderText="编号" Visible="False" />
                                    <asp:TemplateField HeaderText="标题" ItemStyle-HorizontalAlign="Left" >
                                        <ItemTemplate >
                                            <a href="Theme.aspx?Type=<%=itype %>&ThemeID=<%#Eval("ThemeID") %>">
                                                <%#Eval("ThemeTitle")%>
                                            </a>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="ThemeUserName" HeaderText="发贴人" SortExpression="ThemeUserName"  />
                                    <asp:BoundField DataField="ThemeVisitNum" HeaderText="点击次数" SortExpression="ThemeVisitNum" />
                                    <asp:BoundField DataField="ThemeCreatetime" HeaderText="发表时间" SortExpression="ThemeCreatetime"  />
                                    <asp:BoundField DataField="ThemeLastRevertUserName" HeaderText="最后回帖人" SortExpression="ThemeLastRevertUserName"  />
                                    <asp:BoundField DataField="ThemeLastRevertTime" HeaderText="最后回帖时间" SortExpression="ThemeLastRevertTime"  />
                                    <asp:BoundField DataField="ThemeReversionNum" HeaderText="回帖数" SortExpression="ThemeReversionNum"  />
                                </Columns>
                                <EmptyDataTemplate>
                                No Data
                                </EmptyDataTemplate>
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server"  CssClass="border_style5" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                                ShowCustomInfoSection="Left" Width="100%" meta:resourcekey="AspNetPager1" Style="font-size: 14px"
                                InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                                FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                            </webdiyer:AspNetPager>
                        </td>
                    </tr>
                </table>
                </td>
                </tr>
                </table>
</asp:Content>
